package com.modules.login;

import com.base.mvp.BasePresenter;
import com.base.mvp.BaseView;
import com.modules.bean.User;

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class LoginContract {
    interface View extends BaseView<User> {

        void loginSucc(User userMode);

        void registSucc(User userMode);

    }

    interface Presenter extends BasePresenter<View> {
        void login(String name, String pass);

        void regit(String phone_number, String password);
    }
}
